package com.smarth.zhizulian.jsinter;

import android.content.Context;
import android.webkit.JavascriptInterface;

import com.smarth.zhizulian.activity.LoginActivity;

/**
 * Created by 18865 on 2018/1/26.
 */

public class JSGlobalInterface {
    private Context mContext;

    public JSGlobalInterface(Context context) {
        this.mContext = context;
    }

    @JavascriptInterface
    public void goLogin() {
        LoginActivity.open(mContext);
    }

}
